#include "BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h"
#ifdef __cplusplus
extern "C" {
#endif
btDefaultCollisionConstructionInfo* bullet_NewbtDefaultCollisionConstructionInfo(){
	btDefaultCollisionConstructionInfo* wrap_out = new btDefaultCollisionConstructionInfo();
	return wrap_out;
}

int bullet_btDefaultCollisionConstructionInfo_GetFieldOfM_customCollisionAlgorithmMaxElementSize(btDefaultCollisionConstructionInfo* c_this){
	return (int)(c_this->m_customCollisionAlgorithmMaxElementSize);
}

int bullet_btDefaultCollisionConstructionInfo_GetFieldOfM_defaultMaxCollisionAlgorithmPoolSize(btDefaultCollisionConstructionInfo* c_this){
	return (int)(c_this->m_defaultMaxCollisionAlgorithmPoolSize);
}

int bullet_btDefaultCollisionConstructionInfo_GetFieldOfM_defaultMaxPersistentManifoldPoolSize(btDefaultCollisionConstructionInfo* c_this){
	return (int)(c_this->m_defaultMaxPersistentManifoldPoolSize);
}

int bullet_btDefaultCollisionConstructionInfo_GetFieldOfM_useEpaPenetrationAlgorithm(btDefaultCollisionConstructionInfo* c_this){
	return (int)(c_this->m_useEpaPenetrationAlgorithm);
}

btDefaultCollisionConfiguration* bullet_NewbtDefaultCollisionConfiguration(btDefaultCollisionConstructionInfo* constructionInfo){
	btDefaultCollisionConstructionInfo const& c_arg_constructionInfo=(btDefaultCollisionConstructionInfo const&)(*constructionInfo);
	btDefaultCollisionConfiguration* wrap_out = new btDefaultCollisionConfiguration(c_arg_constructionInfo);
	return wrap_out;
}

void bullet_btDefaultCollisionConfiguration_setConvexConvexMultipointIterations(btDefaultCollisionConfiguration* c_this,int numPerturbationIterations,int minimumPointsPerturbationThreshold){
	int c_arg_numPerturbationIterations=numPerturbationIterations;
	int c_arg_minimumPointsPerturbationThreshold=minimumPointsPerturbationThreshold;
	c_this->setConvexConvexMultipointIterations(c_arg_numPerturbationIterations,c_arg_minimumPointsPerturbationThreshold);
}

void bullet_btDefaultCollisionConfiguration_setPlaneConvexMultipointIterations(btDefaultCollisionConfiguration* c_this,int numPerturbationIterations,int minimumPointsPerturbationThreshold){
	int c_arg_numPerturbationIterations=numPerturbationIterations;
	int c_arg_minimumPointsPerturbationThreshold=minimumPointsPerturbationThreshold;
	c_this->setPlaneConvexMultipointIterations(c_arg_numPerturbationIterations,c_arg_minimumPointsPerturbationThreshold);
}

#ifdef __cplusplus
}
#endif
